import request from '../common/request.js'

const api = {};

//请求方式必须大写，为了兼容其他应用
//应急管理列表
api.ShowData = params => request.globalRequest("/api/services/app/EmergencyEvent/Page",'POST',params,1)

//应急管理详情
api.EmeryOption = params => request.globalRequest("/api/services/app/EmergencyEvent/GetEventDetail",'GET',params,1)

//使用预案
api.UsePlan = params => request.globalRequest("/api/services/app/Frame/GetEmergencyPlan",'GET',params,1)

//应急管理抽屉
api.EmeryChoose = params => request.globalRequest("/api/services/app/Frame/GetEmergencyScreen",'GET',params,1)

export default api